{extend name="common@base" /}
{block name="content"}
<section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box box-primary">
        <div class="box-header with-border">
          <div class="box-title">承诺书管理</div>
        </div>
        <div class="box-body">
          <table id="table" class="table">
            <thead>
            <tr>
              <th>ID</th>
              <th>创建时间</th>
              <th>创建人</th>
              <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $rows as $row}
            <tr>
              <td>{$row.id}</td>
              <td>{$row.create_time}</td>
              <td>{$row.realname}</td>
              <td>
                <a href="{:url('edit',['id'=>$row.id])}" class="btn btn-xs btn-default">编辑</a>
              </td>
            </tr>
            {/foreach}
            </tbody>
          </table>
        </div>
        <div class="box-footer">
          {$rows->render()}
        </div>
      </div>
    </div>
  </div>
</section>
{/block}
{block name="page_script"}
<script>
  require(["layer_config"], function (layer) {

  });
</script>
{/block}





